Archive for July, 2009

Software engineering: mea culpa time?

Sunday, July 19th, 2009

Jeff Atwood had a gestalt on reading a paper by Tom deMarco.

I can publicly acknowledge what I’ve slowly, gradually realized over the last 5 to 10 years of my career as a software developer: what we do is craftsmanship, not engineering. And I can say this proudly, unashamedly, with nary a shred of self-doubt.

There has been this thing about trying to make the creation of the code required to make a computer do something a science or an engineering effort. It never quite fit. Proper “computer science” is really just a branch of mathematics. “Software engineering” is more of a management job that a software development activity – and management is not engineering.

Still, adding “science” or “engineering” to something has an appeal. But that doesn’t make it right.

With this paradigm shift from looking at software development as engineering to the craftsmanship point of view, many things make a bit more sense. One is the fact that some coders are orders of magnitude more productive than others. Another is the fact that some produce a much higher quality of work than others. Another is the fact that rank amateurs and self taught coders can create usable product. An engineer is trained but a craftsman develops skills via apprenticeship.

This idea has implications for the formation of teams and for the supervision and management of human resources. It could be worthwhile to think of software development as an effort of craftsmen and not as software engineering.

Davenport and the heyday of E&M

Wednesday, July 15th, 2009

Mechanical Engineering Magazine has a rundown on Thomas Davenport and the invention of the electric motor – The blacksmith’s motor.

This was in the early nineteenth century when electricity and magnetism were being explored as usable phenomena.The Davenport story is one of an individual who would ride a horse near 30 miles to see an electromagnet in action and then take near any source of cash into playing with the phenomena.

Inventing a motor was one thing, getting the Patent Office to accept a patent in a new field was something else. That is where luminaries such as Joseph Henry, Stephen Van Rensselaer, and Amos Eaton come into the story as Davenport has to solicit the support of his invention from the prominent academia of the day to gain credibility with the Patent Office.

All in all, it wasn’t until near forty years after Davenport’s death that the motor began to move out of the bleeding edge category into something of commercial value. That was due to followers, such as Edison, who could solve the problem of finding power to drive the motor.

Good story, good read,

Early space days and how to calculate trajectories

Monday, July 13th, 2009

Design Line features a reminiscence of Jack Crenshaw about Calculating trajectories for Apollo program. This was an effort in the early 60′s in the Theoretical Mechanics Division at NASA, at Langley Research Center.

In those days, we didn’t have spreadsheet programs to draw graphs for us; we had to draw them ourselves. As low man on the TMD totem pole, I got elected to run parametric studies on the computer and plot the results. That task worked in my favor, though, because I gained an understanding of the physics of the problem and the relationship between parameters that I don’t think I would have gotten, otherwise. I wasn’t content to just make runs and plot curves; I wanted to UNDERSTAND what was going on, and I think that put us ahead of the Rand guys

The way to use a computer was to define a program to be written for the coders who implemented it in IBM 702 assembler. That would generate numbers which needed “desk checking” to make sure the program was working as intended. Then the numbers would be manually plotted to created graphs for analysis.

Generating a lunar trajectory is not easy. The problem is a two-point boundary-value problem, complicated by the fact that both points (the launch and return sites) are fixed on a rotating Earth, and we have the “minor” midpoint constraint that the trajectory come somewhere near the Moon. We quickly learned that simply trying to guess at suitable launch conditions was a hopeless venture. Therefore a large part of my energies went into building quite a number of patched-conic approximations, programs to solve the complicated spherical trig, front-end and back-end processors, and “wrappers” for GE’s N-Body program. My crowning achievement was a fully automated program that required only the barest minimum of inputs, such as the coordinates of the launch and landing points, plus a few other things such as year of departure, lunar miss distance, and lighting conditions at both the Moon and Earth reentry. The program would then seek out the optimal, minimum-energy trajectory that would meet the constraints.

To handle these calculations, the computers ran at the equivalent of about a 1 MHz clock with a 32K working memory. They did have hardware floating point capabilities and word lengths up to 60 bits which allowed for some serious number crunching. Batch mode, highly optimized assembly code, and no distractions made it work.

Those were the days – but kind of like realizing that modern toilet paper has a history of only 150 years or so – it certainly provides a perspective on how things have changed in this era.

Firefox plugins and upgrades

Sunday, July 12th, 2009

A first place to look for Firefox plugins in Ubuntu is in Synaptic – do a search on Firefox and scan the list. Make sure you have all the standard repositories enabled and also, perhaps, repositories such as medibuntu.

You should find the popular plugins such as image zoom, adblock plus, fireftp, flashblock, scrapbook, flash, and others there to install system wide and under system management.

Some other plugins I find useful includ all-in-one sidebar, autopager, colt, download statusbar, FEBE, password exporter, scribefire, tab mix plus, unhide passwords, and uppity.

If you upgrade your firefox version, such as using 3.5 (shireteko) in Jaunty from the Universe repository, you’ll find the system plugins may not be compatible. Then you have to load them as local plugins.

Quality in the Amateur Radio Service

Wednesday, July 8th, 2009

Amateur Radios Fall from Grace: the discussion in QRZ on licensing and testing takes note of a discussion on QRZ forums prompted by a ‘get the license then figure it out approach’ post.

The issue is an old one and the blog post takes note of the problem of defining learning objectives and testing for them. That issue started in the 70′s when there was pressure on the FCC to have its licensing activities pay for themselves; pressure on the ARRL to gain membership for political clout, a CB craze that generated competition and contempt for proper licensing, and an ignorance on the part of both the ARRL and the FCC regarding educational theory and the means of defining and testing learning.

One way for a membership organization to turn the tide is suggested in Membership Incentive Program for the American Radio Relay League. This is a suggestion to recognize achievement in small steps at a voluntary level. It depends upon the idea and value that amateur radio enthusiasts are self learners with initiative to get things done and need just a bit of incentive to help them achieve the next step.

Crosley, W8XO, and WLW

Wednesday, July 1st, 2009

A Whole Lotta’ Watts it is! The story is about the early history of AM radio and one of the biggest clear channel stations.

W8XO really was an experiment, and not a cheap one. Half a megawatt, three-quarters fully modulated, millions of peak-envelope watts, on 700 kHz, with existing tube electronics, had never been tried. Building the beast required the combined engineering talents of RCA, General Electric, and Westinghouse. The investment, changed into today’s dollars and at today’s engineering prices, might not have been much less than a space mission, which in a way it was.

1934 was a no limits era when over modulation was not studiously avoided. It was an exciting time.

Transmitter logs were pretty exciting reading, telling of antenna-house fires, hurried repairs on still-dangerous circuits, and rushed replacement of various melted or exploded parts.

Can you imagine getting a fax via AM radio?

This system scanned printing AND photographs on strips of paper just under 5 inches wide. It used a photocell on a rapidly oscillating arm, deriving sync from the AC current. A synchronized arm, again using the AC, recreated the pictures on rolls of treated paper in the receiver.

The experiment part of WLW, W8XO was an important testbed for the development of high power transmitting equipment and was considered an important part of the nation’s defense during WW II.

The website with this story, Ominous Valve thinks real equipment glows in the dark. Some of the other ‘bedtime stories’ include ones about Marconi and Farnsworth and early computers. The section on Tube Ham Radio is subtitled “boat anchors forever” and is about restoring old radio gear.

Looks like some fun stuff with no apologies for technology.

KE9V and logging

Wednesday, July 1st, 2009

In Ham Logging as a Service, KE9V describes the idea of amateur radio activity logging as an I’net cloud service and mentions the ARRL as a potential sponsor of such an effort.

The log idea is excellent. The ARRL mention describes a weakness in leadership. The Logbook of the World does exist but it is not interactive and has limited goals (“create awards credit”). It may also suffer from a security paranoia.

The Amateur Radio community, via its established organizations, should be leading in activities like this. Instead, it is individuals, such as KE9V, that have to push and it will likely be some other individual (like FindU.com did with APRS) that implements the ideas.

UPDATE: thinking about this one … this would be an excellent application of an APRS network on amateur frequencies. That way, an I’net connection would not be needed. It could currently be done via the usual I’net gateway used by findu.com but it seems the logbook itself could have a totally I’net free access point as well.