"I have a mind like a steel... uh... thingy." Patrick Logan's weblog.

Search This Blog

Tuesday, July 06, 2004

Shoulders or Toes, Above or Below the Rest

"Monad is as programmatic as Perl or Ruby."

Looks fairly cumbersome to extend, and I'm not sure how supportive the interpreter is compared to, say, a typical Python interpreter, let alone a Lisp REPL or Smalltalk workspace.

Am I just whining? I hope not. Monad is a great big leap beyond the DOS prompt, I'll grant you that. But hopefully they are learning something from the industry folks who've been down this path already.

For example, I hope they're spending a week to bring in an expert to sit down at a Symbolics machine for an in-depth tour of the Genera command processor; likewise for a tour of a Smalltalk workspace and tools. Hey, one week for both: 2 days with each technology and then 1 day to solicit feedback on Monad.

Would that be worth the effort? Certainly. They will be affecting developers and administrators for a good long while.

Monday, July 05, 2004

Why else?

"Why else would we be in power, if we were not a better judge of international realities?" -- Britt Blaser, writing with irony at Escapable Logic

Capability-based Security and the Web

Tyler Close (of Waterken) writes in the e-lang email list...

The status quo of WWW security is unfortunately mired in the ACL model. However, if you ignore the various security add-ons of the WWW, and focus solely on the underlying model, you find an amazing symmetry with capability-based security. In fact, if you push REST design principles to their logical conclusions, you arrive at some of the core principles of capability-based security.

Flexibility

Alan Kay...

Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way was LISP, and many of its great ideas were used in the invention of Squeak’s ancestor Smalltalk—the first dynamic completely object-oriented development and operating environment—in the early 70s at Xerox PARC.

Sunday, July 04, 2004

Ka-Boom

...this time there *was* an earth-shattering ka-boom. (WAV)

Just in from blowing things up with the kids and neighbors. Ah, freedom.

The burgers were not bad either.

What, no Smalltalk?

Read things like this testimony to Smalltalk by a formerly rigid language aficianado.

Me being a statically typed language guy at the time thought the numbers were a bunch of BS. I actually learned Smalltalk to prove to myself the numbers were wrong. After learning Smalltalk and using it in my spare time for over a year I came to the conclusion that I don't like Java, or C++.
Then read things like this effort to bring computer textbook customization into the 21st century.

And wind it up with a search on that site for a Smalltalk text to include in a custom textbook. But...

...a search on the site leads to zero Smalltalk textbooks. (Plenty of Java, C#, and Extreme Programming texts that *refer* to Smalltalk, though.)

linode.com

The hosting suggestion I rec'd is looking good... linode.com will host a User Mode Linux for you. You simply get root access to your own machine.

(In response to this search for another ISP that supports Smalltalk.)

Kyma

Writes Blaine Buxton...

Kyma is written in VisualWorks Smalltalk and the lengthy article was a review talking about how all of the major electronic and soundtrack composers and sound designers use it and swear by it.

Friday, July 02, 2004

Glitz and Cairo

Two interesting projects, Glitz and Cairo, based in part on OpenGL and so apparently have some cross-platform potential.

Miguel de Icaza refers to a mindblowing demo.

Thursday, July 01, 2004

Why Not Try The Road Less Travelled?

Phil Windley writes...

I was having a discussion with some engineers about what languages to use in various portions of a project. There was a core piece that really needs to be optimized for performance to the greatest extent possible and other parts where cross-platform and user interface issues dominate. I began to realize that almost no recent development in programming languages helps with the former. We're probably still going to write it in C++, with all its warts, so that we can compile it.
Oh my. At least read this PDF first, especially the section by Jonathan Sobel.

Wednesday, June 30, 2004

What do *they* want ?

Mensa

Some interesting aspects of this item on SAP and Microsoft...

  • Microsoft's code name for itself is apparently "Mensa"
  • "Mensa has historically had difficulty in managing remote R&D"
  • Why have a code name for an entity otherwise identified as being the "largest" provider of "enterprise applications" from "Walldorf, Germany"?

Go Tuple Spaces

"Every thing you book on Orbitz runs on a Jini backplane."

Hosting Opportunities for Smalltalk Applications?

I have a domain (http://www.stardecisions.com) that is not ideally suited for hosting a Smalltalk application.

Any ideas for an alternative, that's also relatively low cost? (i.e. I'd like it to be reliable, but don't need a lot of resources or water-tight guarantees. This is non-profit.)

Croquet

Looks like Croquet may be released soon.

Insert stupid foot-in-mouth statement like "Cupertino and Redmond, start your photocopiers".

Shades of Agenda

David Buck has open sourced (is that a verb?) a date parser in Smalltalk that could come in handy in an Agenda-like capability to cull dates out of free-form or semi-structured text.

  DateStringCompiler readFrom: 'today'
  DateStringCompiler readFrom: 'tomorrow'
  DateStringCompiler readFrom: 'yesterday'
  DateStringCompiler readFrom: 'last week'
  DateStringCompiler readFrom: 'next week'
  DateStringCompiler readFrom: 'friday'
  DateStringCompiler readFrom: 'next friday'
  DateStringCompiler readFrom: 'last friday'
  DateStringCompiler readFrom: 'Jan 3, 2004'
  DateStringCompiler readFrom: 'January 3, 2004'
  DateStringCompiler readFrom: '12/25/2005'

Disappearing the Fabric

I guess BOA means "Business Oriented Architecture"? In any case the following from Juval Lowy makes sense...

The idea behind BOA is a technology that bridges the gap between the business analyst expert and the SOA developer. BOA will have to not only interoperate with a long tail of legacy technologies, it will also have to interoperate with BizTalk, and do so without constricting itself too much. Clearly BOA will use standard patterns like Indigo Marks. I don’t think that BML (pronounced bimmel, Business Markup Language. XML for MBAs) is something we should care about because I really hope for some visual tool to do that for me.
I think we as developers can build an infrastructure that can turn 50-80 percent of business automation development over to the MBA's that otherwise would be twiddling with Excel and Access. If you know an associate who's non-technical but has built a golf tournament application with some forms and reports, they should be able to define, test, and deploy a distributed, collaborative operational and analytical business process used concurrently by dozens of people inside and out of their legal corporation.

We just have to give them the fabric to stitch together. And like Juval says, we can't give them XML or SQL. We have to make collaborative system definition, test, and deployment even easier than building in Excel and Access for the single user.

If Microsoft has something in the works that will really reduce the number of technical developers necessary to deploy a collaborative enterprise system, great. Less C#, more BOA!

Monday, June 28, 2004

What is an OS, after all, esp. in an SOA?

Wes suggests...

Part of the problem is that natural language support is a time-consuming and specialized endeavor, especially if multiple languages are to be supported. It should be in the operating system...
Why would this be "in the operating system"?

This could be a "service" that would fit well into a service-oriented architecture. As such it could be OS-independent, run locally or on the LAN or Internet. Also as such services could compete (e.g. in a blackboard), cooperate (also in a blackboard), and/or evolve independently (e.g. in a service-oriented architecture).

Update: Wes responds...

The problem is that natural language support requires maximum performance and should be available offline. In an application that uses it, the functionality will be tightly integrated with the operation of the application. It should be available as library in the same way OpenGL or data access libraries are available in Windows today.
I can see that a natural language service would be compute-intensive and memory intensive. I don't see the connection between an application and the service being so intensive though. The communication bandwidth it seems could be relatively small compared to the space and time of computing results.

Combine this with the need for a high rate of evolution of the capability itself and the result is a need for flexibility at the component interface. Why rely on one vendor for this, even if it is Microsoft?

As for offline capability, I agree, but don't we need a general offline capability with many kinds of services? A service-oriented architecture should not be considered always-connected and always-remote.

Finally comparing this to OpenGL --- I suspect the high bandwith needed between the 3D engine and the display device is a different characteristic than natural language interpretation. Isn't NL a relatively isolated computational problem?

Inflection Points and Flexible Software

Jim writes about Microsoft's inflection point...

If the perceived migration cost to LongHorn is high, then Mac OS X and Linux are going to get real evaluations.
Or even better for Jim and Cincom, viable cross-platform solutions may have more opportunities.

Friday, June 25, 2004

The Notetaker, a portable personal computer

From "Inside the PARC"...

The Notetaker, a portable personal computer built at PARC in 1978, is rumored to have been the inspiration for the Osborne 1.

The Notetaker ended up as an 8086-based computer that could fit under an airplane seat. It was battery-powered, ran Smalltalk, and had a touch-sensitive screen designed by Thornburg. "We had a custom monitor, we had error-corrected memory, a lot of custom engineering that we would normally only do for a real product," said Fairbairn, the Notetaker's chief hardware designer. "The last year before l left PARC," Tesler said, "I spent flying around the country talking to Xerox executives, carrying Notetaker with me. It was the first portable computer run in an airport. Xerox executives made all sorts of promises: we'll buy 20 000, just talk to this executive in Virginia, then talk to this executive in Connecticut. The company was so pread out, they never got the meeting together. After a year I WaS ready to give up. " While Xerox may not have been ready to run Witll a portable computer, others were. The Osborne I was introduced in 1981 about nine months after Adam Osborne reportedly toured PARC, where pictures of the Notetaker were prominently displayed .

Where am I?

According to the World's Smallest Political Quiz, I am a left-leaning libertarian.

Your Personal Self-Government Score is 90%.
Your Economic Self-Government Score is 60%.

The problem is, many of my responses were "maybe". In government, as in almost every social situation, the results are much more dependent on the specific individuals than general ideologies.

Do objects have too much freedom?

Isaac Gouy quotes, in a comment on Jim's blog...
"But Smalltalk's mechanism suffers from a serious drawback: Initialization is not enforced. new creates objects but does not initialize them... A second drawback with both Smalltalk and Ruby is that initialize, being an ordinary method, does not chain: You must remember to begin your initialize methods with a call to the superclass's initialize method."
Hey, but this just plain, old message sending, as with any object. It just happens that that "object" is a class. That's the advantage, and the tradeoff.

So, in general, inheritance is not as good as composition. But why is *this* message sequence worse than any other?

Do objects have too much freedom?

Thursday, June 24, 2004

Social Spreadsheets

Interestingly, Phil Windley blogs sequentially about Tom Malone, Ray Ozzie, and Social Spreadsheets.

What's the interesting connection? See "Object Lens: a Spreadsheet for Cooperative Work" by Tom Malone, whose work (from Information Lens to Object Lens, to OVAL) influenced and was influenced by Ray Ozzie's Lotus Notes.

(Non-ACM link to the OVAL paper. [Manuel Simoni])

MIT's DSpace has all of Malone's working papers as well.

Tuesday, June 22, 2004

We're *all* clueless about *something*

Don Box reponds...

Indigo (one of the three "pillars of Longhorn") does in fact install on XP and Windows Server 2003. The experience on all three platforms should be comparable.
Yes, I've written before that I think Indigo is one of the gems of MSFT's new work. That accounts for just a small portion of the work though. I can't help but wonder whether the rest of the teams just did not try hard enough, or whether their decisions are more valid from a technical or business perspective.

...I know its fun to paint MSFT as clueless dolts who don't care about developer or customer investments, but the reality isn't quite that black and white.

That's not my intent, but unfortunately can come across in part through my writing style. And that's something I regret. I need an automatic "tone" critic.

FWIW, I don't think MSFT as clueless. They're too good at what they do. I just wish I could be a fly on the wall in Redmond to understand their thinking. (Of course it "their thinking" is itself non-uniform. Certainly the company is full of all kinds of agendas and thought processes.)

BTW, every large system development team I've been a part of has made proportionately bad decisions, including those I've led. There are simply so many variables, so many decisions, and so many pressures from all aspects of the effort, technical, business, and political. If this helps, I am as critical of my own past efforts as I am of those taking place around Longhorn. Moreso, since I know the details and where the skeletons are buried! (Ask me about Late-dot-Slow someday.)

Monday, June 21, 2004

Microsoft has chosen their own inflection point

Wes responds to my inflection point item. But I'm not calling a winner, and I don't think Spolsky was either.

Let me clarify my point. Clearly we are *at* an inflection point for Windows OS, API's, and development. Microsoft chose to create this inflection point rather than a more graduated approach.

I am not predicting which way the market will go. I am definitely not that smart. If I had to make a call, the best I could say is that there will be some middle way, that a Longhorn victory will be hard fought path that extends well beyond 2007. But who knows? An accurate prediction is not the point.

I do think Wes, et al. have missed some key aspects of Joel's message though, reducing the discussion to a binary one of who will win, the old or the new.

One of the key aspects of Longhorn is that, Joel suspects and I've wondered on my blog earlier, *why* everything is rolled into an all or nothing set of dependent technologies. Clearly many parts of Longhorn could be made more independent and portable to older Windows platforms (even Linux, but that's another topic altogether).

The interesting aspect of this issue is exactly that Microsoft has avoided inflection points of this magnitude so far, but with Longhorn they are *creating* their own inflection point. Let's just watch how they play this out; Longhorn is probably more interesting from a business sense than from a technical sense.

Tuple Spaces: Queues or Databases?

Dan Creswell asks: Are tuple spaces more like queues or more like databases? They fit a broad set of niches between message queues and relational or object databases.

Queues can implement variations of one shared data structure: namely, queues.

Spaces can implement variations of shared queues, but also variations of shared arrays, shared dictionaries, and other "shared memory" (i.e. "random access") structures.

A space is typically centralized, where a queue product typically supports distributing the queue's end points around a network.

A space is typically better at heterogenous random access, where a more traditional database (e.g. a relational database) is typically better at homogenous sequential (and relational) access.

Friday, June 18, 2004

Missing the Inflection Point

A point worth pondering...

"Avalon is to Microsoft as microchannel was to IBM."
Time will only tell. I think there are significant problems with nearly every aspect of Longhorn. But that's from a technical perspective. The continuing flury caused by Joel Spolsky's insightful analysis of factions inside Microsoft originated and is supposed to be about the customer and about business.

Microsoft has been better about business than anyone else in the software industry. I have no qualifications to argue with that.

I can't help observing however that the responses from the MSDN camp I've read almost completely miss Spolsky's argument. (McLaws, Box, Wes)

Excercise for the reader: determine which camp *you* belong to. Can you overcome cognitive dissonance and identify three of Joel's significant points that are being missed in the three responses linked above?

Thursday, June 17, 2004

Shell tries to come clean

Let's see where this goes...

The head of one of the world's biggest oil companies has admitted that the threat of climate change makes him "really very worried for the planet".

In an interview in today's Guardian Life section, Ron Oxburgh, chairman of Shell, says... "No one can be comfortable at the prospect of continuing to pump out the amounts of carbon dioxide that we are pumping out at present ... with consequences that we really can't predict but are probably not good."...

His words follow those of the government's chief science adviser, David King, who said in January that climate change posed a bigger threat to the world than terrorism.

"You can't slip a piece of paper between David King and me on this position," said Lord Oxburgh, a respected geologist who replaced the disgraced Philip Watts as chairman of the British arm of the oil giant in March.

Misinterpreting the CMM

Andy Hunt misinterprets the intent of CMM. (But then most of us do.)

The CMM, and even better the CMMI Continuous Representation, is an approach toward incremental process improvement and measuring their progress. Most organizations would not benefit from considering more than a level 3 assessment, and even then only in specific process areas.

This approach to process improvement is incremental. The XP/agile approach is radical. They are neither one ideal, and in fact more complementary than proponents of either tend to realize.

I'd recommend "Making Process Improvement Work" by Potter and Sakry to anyone who wants to understand how to use CMMI, or process improvement generally, effectively.

Reinterpreting Databases

Charles Miller explains why we need better interpretations of the concept of "database".

First International REA Technology Workshop

REA (Resources-Events-Agents) originated as an accounting model. Early on it's application has been with computing. Significant applications of REA have been extended out to inter-enterprise supply chains.

And now there are some interesting results from the First International REA Technology Workshop.

Several participants from Microsoft Business Solutions.

Friday, June 11, 2004

Saved!

From Roger Ebert's move review...
"Saved!" is an important film as well as an entertaining one. At a time when the FCC is enforcing a censorious morality on a nation where 8.5 million listeners a day are manifestly not offended by Howard Stern, here is a movie with a political message: Jesus counseled more acceptance and tolerance than some of his followers think. By the end of the movie, mainstream Christian values have not been overthrown, but demonstrated and embraced. Those who think Christianity is just a matter of enforcing their rulebook have been, well, enlightened. And that all of this takes place in a sassy and smart teenage comedy is, well, a miracle.
"Saved!" is a good satire, approaching greatness. It is a true *satire* half-disguised as a teen movie.

What's really amazing is how little protest has accompanied it on it's way to theaters. How did this get to the mainstream cineplex so quietly?

If you need a Passionate (and laugh-out-loud) antidote to your local megachurch, this is it.

Monday, May 31, 2004

Memes we live by

What makes us (software developers) think most other disciplines are "predictable, schedule-able, reliable, budget-able and robust"?

Making Money with ReST and Smalltalk

From the on-line presentations to Smalltalk Solutions 2004 (PDF)...

A financial house posts trades to NASDAQ using HTTPS client and SSL framework.

  • Saves $5000/month over using an MQSeries link to NASDAQ.
  • No manual entry. HTML pages are automatically read, filled in, and posted. Report retrieval is automated as well.
  • Other companies are still using MQSeries and struggling to manually enter data within the 45 min NASDAQ requirement.
  • Implemented in less than a month and running for over a year.

Are Java and dotnet communities like Unix and Windows?

Ted Neward writes...

It's funny, in a way: it's almost as if Java has too much disagreement and disunity within its community, and .NET not enough.
I wonder how much this comes from Java having multiple strong vendors while dotnet has but one. Isn't this like the Unix and Windows communities? Multiple Unix vendors are going to disagree and so divide the communities to a more significant degree than the single Windows vendor.

With a Microsoft product, you accept the faults and go with it. There is at least a perception of no other choice, at least not without some significant compromise. Vendors of other "standards" have to find ways to differentiate and still conform.

Sunday, May 30, 2004

Does Microsoft Software Evolve Well?

Ralph Johnson comments on my piece about Microsoft's O/R mapping fiasco...

I think that Microsoft has perfected the notion that software has to evolve. They release early and often. The joke is that their software is never ready until version 3, and I've heard people from Microsoft tell that joke. I don't know the issues behind what you are saying about ADO.NET and Longhorn, but whatever the problem, it is not because Microsoft in general thinks that software will not evolve. When I talk with people from Microsoft, they seem much more aware than most that everything they do is transitory.
Maybe we'd have to discuss specific examples. I don't think Object Spaces is a good example of "release early and often". As I wrote previously, Microsoft is very late to the table with an O/R product. Even now that product is being pushed out, apparently to 2007 at the earliest.

Taking the subject of database connections more broadly, the Microsoft picture looks even worse. They have a history of introducing replacement connection technologies rather than finding a suitable abstraction that can evolve.

These various API's are transitory but they don't seem to be evolutionary. I won't fault Microsoft for packaging software and selling it successfully, and that includes getting software out early and improving it. But when it comes to software design, abstraction, and loose coupling of components, they seem to be getting worse rather than better.

Maybe that's the right approach: put everything into Longhorn, and force and upgrade. Or maybe it's just an accident of bad planning and design. Or maybe it's something else altogether. I don't know, but it doesn't seem evolutionary.

Dining Philospohers and ReST

The discussion on ReST and coordination continues with a really interesting example of the Dining Philosophers.

*All* things considered?

Fairness and Accuracy in Reporting has taken a look at National Public Radio...

Characterized by conservative critics as "liberal" radio, NPR has more Republican than Democratic voices, and male sources outnumber female sources by nearly four to one.
For example and for example.

But don't get me wrong. I am *not* in favor of a government broadcasting company.

Big Bang?

Another kind of big bang...

Using estimates based on existing research, the five researchers calculated that the energy released by the asteroid strike was equivalent to that in 100 million megatons of TNT. The force of the impact would have thrown debris high into the air, much of it burning up while still in the atmosphere, the report said. This, in turn, would have turned the Earth into a giant broiler oven.

Jeffrey Ullman's Courseware

Yahoo... er... great! Jeffrey Ullman's courseware.

Thursday, May 27, 2004

What sells?

A comment from Adam V. on why complicated stuff like Share Point is productized, but something as simply beautiful as a Wiki is not as easily productized.

In response I think this is a two-sided coin, with a customer as well as a vendor.

I think there is something to the "monetizing" argument.

I think it also comes from the customer side... I continue to see a lot of behavior in large enterprises that seems to believe anything of *value* (not just cost, mind you) should by definition be big, complicated, and even cumbersome.

Really. I think the portal vendors, like other kinds of vendors, are just capitalizing on these behaviors. "Selling" something as simple as a Wiki, or even as simple as Smalltalk, is *more* difficult than selling the more complicated and costly approximations.

Reading vs. Taking

Mark Baker, in his comment to my "Is this ReST?" post, suggests "take" isn't often needed...

My machine's offline today, but I responded last night; yah, the unsafe GET isn't such a hot idea. And to add/respond to what Bill said, I'm finding that one often doesn't need TAKE semantics at all; just support indexing, e.g. /queue/?start=1&end=10, safe retrieval via GET, queueing of the documents for as long as you want/need to, flushing the old stuff after that point, and then returning 410 when asked to return a flushed document. Not totally general, but it's worked for me on a couple of occasions.
This could be so in a queue where there is one consumer or where multiple consumers have an agreed-upon policy for avoiding double consumption.

In the general case though, FIFO queues are just one desirable coordination model...

Wednesday, May 26, 2004

Is this ReST?

Is this implementation of queueing a good example of the ReST approach?

Mark?

In particular I am wondering about the use of GET to dequeue an item. My understanding of how GET should behave is contrary to this. That is, two consecutive GET's with the same URL should have the same result, assuming no intervening POST, DELETE, or PUT that would affect that URL.

Corrections or corroborations appreciated.

The problem with Share Point (and most "portals")

I love the way I can shape a Wiki to provide a "narrative" that is still a "web".

Why does Share Point (and portals in general from what I have seen) provide a sterile, partitioned, austere "user interface" experience?

Clearly the best of the web is based on self-navigable "narratives". Maybe there is a way to do this in Share Point, if I had the time to discover more about it.

If there is, this should certainly be the default behavior.

"Entity Aggregation" (i.e. data) and SOA

From the MSFT dotnet Architecture Center, "SOA Challenges: Entity Aggregation".

Speak of the devil. Another view on the SOA "data problem".

See for example the sections on "Cross Entity Queries" and "Entity Aggregation Service". Then the paper proceeds into some useful solution approaches.

We need a great utility player, not a specialist

Clemens Vasters on a pure message-based architecture vs. data-based integration...
It will make your architecture infinitely more agile...
Time will tell. I think the crux of the matter will be to determine where database integration makes sense, and where messaging integration does.

Again, I think there is a fundamental flaw in message-oriented architectures that can be addressed by improving the database-oriented architecture. We need agile databases as much as we need messages and events.

Good database design is a start. Manageable data platforms are required. Tuple spaces offer some insight too. They provide significantly more expressiveness than relational databases or message buses. A tuple space is like a great utility player in baseball.

I think "pure" SOA is SOL. The buzzword is actually a buzzkill. There will be long lessons learned where the victors will be SOA-based ERPs like SAP Netweaver and Microsoft's Business Framework (MBF apparently being horribly behind at this point). Yes, these systems are "SOA" but they also provide a data-based integration as well.

Why so late to the "table" (so to speak)?

The discussion was about how difficult was to map the db to an object model, how 'transparent' can persistence be, and the fact that noone wants to write ADO.NET code manually anymore.
I think it is a fair question to ask why Microsoft is so late to the table with O/R mapping? Many problems and solutions have been addressed in academia and industry for well over five years.

Waiting for the one, true, API (which will certainly have faults... this is software) is stretching out another couple of years, apparently, at best.

Do you think I like picking on Microsoft? It's just the company has never seemed to grasp that software has to evolve, or maybe it's just that I've never grasped the business sense of their "rewrite the entire API just once" approach to Longhorn. I can only assume there is great business sense in this. Technically it can't hold up, and so will cost "us" money for years to come.

What a concept!

programs will be stored as XML documents, so that programmers can represent and process data and meta-data uniformly

Tuesday, May 25, 2004

TkZinc

TkZinc looks cool.

XAML as a document format --- might work

Update: Wes writes in the comments:

Microsoft has foreseen versioning issues with XAML. The XAML parser does allow custom mappings between names of elements and attributes to their corresponding .NET types and properties, so that is not really an issue.
This would seem to allow a developer to map a version 1.0 document's class names and properties to a version 2.0 implementation's classes and properties. Good news. The original concern is still there: that XAML embeds the implementation at all is a stronger bind to dotnet than XML generally should have. But that's a business decision, not a technical one. At least within versioning dotnet applications, using XAML as a "document" should have an upgrade path for document versions.

Original post:

I am not sure about the wisdom of using XAML as a "document" format. As I wondered previously, wouldn't this embed in a "document" essentially the classes, instances, methods, and properties of the *implementation*?

Can someone explain how this isn't so? Or explain why this is a good thing for a document format?

Surely implementations should be able to change without having to upgrade their documents!

WikiTravel

Have you seen the Wiki Travel Guide?

Graham Glass on Programming Languages

Graham Glass...

"i truly believe that the days of coding software using low-level languages like java will be over in 5 years or less."
But I'm not sure what Graham means when he writes...
"frankly, i would have written glue and fabric (which would be classified as system-level software) using higher-level tools had they been available."
Graham was a Smalltalk (and Gemstone, I believe) developer before moving to Java. (Somewhere in there with he also worked with C++.) Maybe he was among the legions of Smalltalk developers who assumed it would die under the pressure of Java. Ha!

Belocolus

I have to point to this from Sean McGrath if for no other reason than it uses the term "belocolus".

But there's also some content worth quoting...

Your problems lie in two fundamental concepts that need to be central to how you think about business processes in a distributed world - (a) event driven execution and (b) temporal decoupling.
My problems lie in some other fundamental problems of the enterprise. Nevertheless this quote above is a good one to keep in mind before suffering a vendor or buzzword headspin.

More from the in-depth article...

Are you one of those companies we are constantly told about that is making great headway with Web Services behind the firewall? If so, I suggest you taken a close look at the amount of temporal coupling implied by your model. Remember: upside down is the right way up.

"Nullable Types"

Update: More concerns from Wesner Moise's blog on "Why elevate Nullable Types?". The interactions of complex features just create more complexity. Rigid languages resist change. Flexible languages rarely need to change...

The new nullable types syntax points to a weakness in the design of generics.

The constraints mechanism in CLR generics currently disallows C# operators from being lifted from the underlying base type to their nullable versions.

An explanation of Nullable Types which is a new concept in C# 2.0, as far as I can tell because the language designer did not get the concept of objects quite right. (For earlier evidence, consider the C# concepts of boxing and stack allocated structs vs. objects, read up on their justifications, and then consider the languages that don't expose boxing to the typical developer.)

I assume Nullable Types is a kludge for supporting database programming, because some column for some row might have a value or might be null. Of course, database nulls are themselves a bit of a kludge. They muck up database programming and should generally be avoided. So why move that muck up into the programming language? Again, I guess this is because C# can be used to write stored procedures in the next version of SQL Server. There's enough muck to spread around, hopefully something beautiful might grow from this, but I'm skeptical as usual.

Further muck...

There is special treatment for booleans. Nullable bools are a form of ternary boolean values, which can safely be used in if, for, while conditions and logical expressions without throwing exceptions.
This is assuming one wants Null and False to behave the same. (I assume this is the intended behavior.) This is questionably useful.

Monday, May 24, 2004

Integration Databases

Martin Fowler writes about the difference between an Application Database and an Integration Database. He continues by expressing his favor for a message-based integration rather than an Integration Database.

I dunno. The devil is in the details. Here are some thoughts...

For one thing, message-based solutions are often based on new technology, and often from a new vendor. Even if the quality is good, avoiding vendor lock-in is not easy, even with a "standard" like JMS.

Unless the developers have done message-based implementations already, new skills are needed. If the enterprise has an ERP like SAP R3, then there's another issue to deal with: is the messaging product the "enterprise bus" or is SAP the bus? The answer may not be ideal either way. Going outside of the ERP though can lead to duplicating functionality or at least "rules", and/or lead to too much effort at the boundary between messages and the ERP API.

(This gets better when the ERP implements messaging, but what about those "legacy" message buses?)

The lower the number of applications that need integrating, the more I favor using an Integration Database. Care is still needed if vendor lock-in is to be avoided, but most enterprises I suspect have their databases of choice, SQL Server, MySQL, whatever. The open source databases like MySQL and PostgreSQL are perfect for an Application Database or an Integration Database at very low total cost of ownership.

If one of the systems is an ERP, the more I favor an Integration Database, especially if the developers are familiar with the database technology and unfamiliar with a message-based solution. These databases tend to be an Application Database, although the they could be both: what we're really talking about is Application Data Model and Integration Data Model; both may be present in the same database.

I'd much rather get the best of both the data and message worlds, and more, by using a Tuple Space.

Databases are not hot right now, but they are certainly tried and true, and I bet the enterprise has a better license for them, and more developers who can handle them than it does for messaging. It may not be SOA, but you probably won't be SOL either.

Scheme SYNTAX-RULES How-To

In learning to write Scheme macros, I have noticed that it is easy to find both trivial examples and extraordinarily complex examples, but there seem to be no intermediate ones.

Got that right. Nice.

Improvements needed in VS Team Edition

Steve Loughran writes...

[it] is interesting to see what is in -what MS and their IT department customers think we need. In: all the Rational-class beaurocratic workflow. Not-in: lightweight presence indicators like highlighting who is editing which file.

The other amusing thing is that the Visual Studio Architect Edition doesnt include testing. That's right. Architects design with fancy UML tools; developers are separate people who write tests, testers are people who run them.

The Road from Genera to Longhorn

The Monad Shell in Longhorn would be really cool if the developers thought to use Presentations as found in the Genera Listener and now in the Common Lisp Interface Manager (CLIM).

Hopefully they've read the literature, and maybe own a Symbolics machine.

Blogger Problems

I've never been happy with Blogger. The quality is inconsistent at best, and remains so many months after the Google aquisition.

For example, I have no idea what happened to my "recent posts" on the right side. They disappeared sometime on Sunday.

Another example, I edited my template a week ago or so to remove the CSS indent from paragraphs in the items I post. OK, I need to look up the proper way to do this maybe, to avoid template changes coming from on high. But could I have a warning or a chance to accept the template changes?

Other changes to the template have been preserved. Maybe I just put the CSS changes in the wrong location in the template.

Sunday, May 23, 2004

Smalltalk for Mobile Applications

What do developers of mobile applications need? They need a development and deployment platform that allows them to develop on traditional client platforms as well as on mobile devices. They need a platform that has the same power available on a full-scale platform, without all of the excess that normally comes with that. They need a platform that is easy to work with, and easy to update in the field...

  • Creating software for mobile platforms is expensive. Using Cincom Smalltalk, development can proceed on a "pay as you go" model, driving down upfront development costs.
  • Complete binary portability — Developers selecting Cincom Smalltalk can develop on their favorite platform and then deploy to any other — including Windows® CE, Windows Mobile for Pocket PC, Windows XP Tablet PC Edition and Linux® — with no changes. Cincom Smalltalk supports the x86, XScale, and StrongARM-based mobile devices, as well as standard Windows, UNIX, Mac®, and UNIX workstations and servers.
  • Cincom Smalltalk has been under continuous development and deployment for over 30 years now with great success at a number of Fortune 500 firms. None of the competing solutions can point to a similar record of robustness and maturity.

Longhorn is becoming a Pig Pile

I almost don't know where to begin with this. The pressure is building on Longhorn to be more than magical. Does Microsoft not know how to deliver an evolutionary set of products and services? Is this self-destructive engineering or brilliant business? Or something in between.

Alan also told me that one of his goals was to come up with a unified model for accessing data across most Microsoft programs. It would be nice, for example, to be able to load up Microsoft Money data the same way you can in SQL Server using ADO.NET. If you put aside the emotion and really think about it for a second, that's one of the key reasons they're putting WinFS into Longhorn, to remove the "program-specific silos" that happen in application development today, and allow WinFS to be not only a file storage system, but an information storage system as well...

Microsoft wants to make ObjectSpaces the way IT'S OWN teams get data out of WinFS in the Longhorn time frame... And for most, normal, sane people, this makes a decent amount of sense.

So, ObjectSpaces is an important technology. Microsoft wants to get it right in V1. With every product being relied upon it when Longhorn comes out, they almost don't have a choice in teh matter. They don't want to have to wait for it to be usable until V3, like most Microsoft programs, they want it done right the first time. And that's admirable. It's not like you're not going to see bits shipped in beta form between now and 2006. You'll still get to use it, so what's the big deal?

It's a Vendor Fest

Ted Neward answers the wrong question. The question is not whether these things are needed ("security, transactions, messaging and quality-of-service communications efforts, and so on").

The question is whether the WS-* fiasco is the right approach and result.

I am diabetic...

...and I vote.

Patents

Simson Garfinkel... "Are you Roundup ready?"

And it's just May

Of course, Mr. Moore is being selective in what he chooses to include in his movie; he's a polemicist, not a journalist. But he implicitly raises the issue that much of what we've seen elsewhere during this war, often under the label of "news," has been just as subjectively edited.

WS-Wha?

Jeff Schneider proposes a new WS-* spec on the Service Oriented Architecture Yahoo Group:

"Absolutely Simple Services For Adaptive Content Exchange"

8^)

Movies

Jim is writing about his love of bad movies. This may be a spot to write about Shrek II, although it wasn't bad.

I went reluctantly last night to see Shrek II. I was reluctant because the first Shrek was so good, and the trailer for Shrek II made the latest seem like one of those forced sequels that falls way short of the original.

The trailer did not do justice to the movie. This is a rare instance where the sequel approaches (but does not quite match) the original. In other words, I laughed my ass off.

Saturday, May 22, 2004

MS IBF and Open Office?

Microsoft's Information Bridge Framework looks interesting. Perhaps Open Office and other applications could integrate the same back office data.

IBF will allow developers and information-worker users to expose "enterprise business objects" and then pull them right into their familiar Office documents. (Enterprise business objects, in this context, are entities such as "customers" and "purchase orders.")

Good luck

We declared war on terror. We declared war on terror—it’s not even a noun, so, good luck. After we defeat it, I’m sure we’ll take on that bastard ennui.
Jon Stewart to the William and Mary class of 2004.

On the nature of "new"

Languages where "new" is a special operator rather than a general message are missing the point about objects and messages, even for "new".

Data Models, Data Formats, Data Bases

Fabian Pascal on relational data and XML.

What could happen here?

Government documents (PDF) released under the Freedom of Information Act disclose that on March 13, 1962, the Joint Chiefs of Staff of the United States proposed the following, and other deceptions, to justify a U.S. invasion of Cuba...

  • staging the assassinations of Cubans living in the United States
  • developing a fake "Communist Cuban terror campaign in the Miami area, in other Florida cities and even in Washington"
  • "sink[ing] a boatload of Cuban refugees (real or simulated)"
  • faking a Cuban airforce attack on a civilian jetliner
  • blowing up a U.S. ship in Cuban waters and then blaming the incident on Cuban sabotage
When someone wonders what could happen here, in the 21st century, a citizen is obligated to recall Operation Northwood.

Fortunately we had a president in 1962 who could read, ask questions, comprehend, take a position, and stand up to the generals. What would have happened if we did not have Kenedy in office? What could happen next time if we had a president who were aloof and disengaged?

Using language to dominate politics

George Lakoff, via Keith ray...

Do any of the Democratic Presidential candidates grasp the importance of framing?

None. They don't get it at all. But they're in a funny position. The framing changes that have to be made are long-term changes. The conservatives understood this in 1973. By 1980 they had a candidate, Ronald Reagan, who could take all this stuff and run with it. The progressives don't have a candidate now who understands these things and can talk about them. And in order for a candidate to be able to talk about them, the ideas have to be out there. You have to be able to reference them in a sound bite...

Conservative foundations give large block grants year after year to their think tanks. They say, 'Here's several million dollars, do what you need to do.' And basically, they build infrastructure, they build TV studios, hire intellectuals, set aside money to buy a lot of books to get them on the best-seller lists, hire research assistants for their intellectuals so they do well on TV, and hire agents to put them on TV. They do all of that. Why? Because the conservative moral system, which I analyzed in "Moral Politics," has as its highest value preserving and defending the "strict father" system itself. And that means building infrastructure. As businessmen, they know how to do this very well.

Meanwhile, liberals' conceptual system of the "nurturant parent" has as its highest value helping individuals who need help. The progressive foundations and donors give their money to a variety of grassroots organizations. They say, 'We're giving you $25,000, but don't waste a penny of it. Make sure it all goes to the cause, don't use it for administration, communication, infrastructure, or career development.' So there's actually a structural reason built into the worldviews that explains why conservatives have done better.

Friday, May 21, 2004

Maybe past time?

Steve Loughran...

My closing statement is the mildly controversial one then: the current set of popular "enterprise grade" languages are fundamentally unsuited to loose coupling. It is time to move on.

XML and Data Models

Sean McGrath writes...

Quote from Date defends relational model: "XML is not a real data model." Discuss :-)
The way I see it "XML" is a data format. So then what is a data model?

  • "hierarchy" is a data model
  • "binary tree" is a data model
  • "[un]directed graph" is a data model
  • "star schema" is a data model
  • "table" is a data model
  • "ordered sequence" is a data model
Each of these can be represented in XML files, in a "native" XML database, in a relational database, and in many other formats. How suitable each format is depends on the data and how you intend to use it.

Wednesday, May 19, 2004

Merger?

Should Google and Novell merge? Just a thought.

Tuesday, May 18, 2004

Dear Reader

To those who think I smoke crack or who think I believe every quote I post, here is a disclaimer:

Not true.

Recently Nelson Minar posted some conspiracy theories. This does not necessarily mean Nelson believes those theories unless he clearly states so.

Recently I posted a URL to Nelson's post. This does not necessarily mean I believe those theories, neither did I state so.

So why did I post the URL? Because this is an issue that must be considered:

  • I believe that governments in general should be questioned.
  • I believe that republics should be based on skepticism.
  • I believe there are precedents in this administration as well as previous one that call this current scenario into question.
Have I drawn a conclusion? A conclusion in this case by an average citizen is impossible. But none of us should ever stop questioning.

Thank you for reading my posts, technical, political, and otherwise. These are simply thoughts that are on my mind and I offer them to you as nothing more nor less.

Nelson wonders... "Can I really believe my country would stage this?"

Web Apps and Compound Docs

A very interesting joint position paper from Mozilla and Opera on Web Applications and Compound Documents.

Sunday, May 16, 2004

A principled use of XML?

However, the most powerful reason for devising a new markup language is the very close relationship between elements in a XAML file, and objects at runtime. Unlike any previous markup languages, XAML is designed to integrate directly with WinFX.
Here's one thing I don't get about XAML. Is this a principled use of XML?

One point about XML that is hammered home at every opportunity is the ability to separate an XML document from the implementations of the systems that handle the document.

Yet with XAML we are being told the opposite is the advantage: there is a tight coupling of the contents of a XAML document and the specific implementation intended to process that document.

This seems like trouble to me, down the road, as you'd prefer the ability to evolve the documents and their handlers independently.

Maybe this issue is addressed somewhere, and I'm missing the advantage. It just seems counter to every other promotion of why and how to use XML.

More on Longhorn and Macromedia

Jay Han dives into the line-up of Longhorn vs. Macromedia.

Powell, My Lai, and Iran-Contra

As Powell is pushed back into the Bush administration spotlight as their token moderate, let's not forget his roles in military controversies go as far back as the My Lai massacre cover-up and include the Iran-Contra scandal.

Data Services are a sign of SOA maturation

One sign of readiness of the SOA concept will be patterns incorporating data services. These are just beginning to be discussed, from what I've seen. And so I think SOA is still just a fantasy.

Clemens Vasters discusses patterns of distributed data services. Some interesting ideas, although please try like hell to disentangle the location information from the customer identifier, at least at the service level if not in the legacy data!

Saturday, May 15, 2004

Arianna Online

"How can the United States allow public executions of the Viet Cong?," the distraught military wife asked. "My husband is a prisoner of war in North Viet Nam and I am concerned for his treatment. What has happened to Americans, do we no longer value the ideals that my brother died for in World War Two and we thought my husband fought for in this war?"
Via Arianna Huffington's blog (feed).

Not Ready to Bet on AOP

At some point we need to go beyond AOP. We propose a simple and time-honored solution: to find "good enough" solutions for certain aspects and then to hide them inside abstraction layers.
Aspect-Oriented Programming is a dead end, at least without a simple language as the foundation. Seems like the Oz language may be serve as that foundation, as reported.

IKVM

IKVM is a marvel whose time is yet to come. Why certain companies are not pouring funding into the project is a mystery to me.

IKVM is a translator from Java bytecode to CIL bytecode that will run Java programs in Mono. It's a technical marvel. I've been able to access Java class libraries from Mono, and the other way around. It's a real eye-opener...

Another Sobering Read

From the Washington Post...

THE PRELIMINARY report of the U.S. Commission on Ocean Policy, released last week, is a sobering read -- or perhaps we should say another sobering read. It is the second major report in the past year to detail the dire state of America's coastal waters. Last summer, the Pew Oceans Commission starkly warned that the oceans as we know them will not survive without dramatic policy changes making a commitment to preserve oceanic biodiversity.

Profiting on the Client

There are only three companies that make big profits directly from PCs: Intel, Microsoft and Dell. As I see it, the opportunity going ahead lies in providing software for a monthly subscription fee with thin clients available at costs-plus to drive consumption in the emerging markets.
Is IBM headed in this direction?

On Apple and Steve Jobs

From Forrester on Apple and Steve Jobs. You know you want to read it.

Central

I thought Macromedia Central would have generated more interest or at least more discussion. Is the functionality not needed, or is it needed but just in another format?

For example, the ideas may be right, but they should be delivered in dotnet, Gnome, Mozilla, or Eclipse.

Should these ideas be made avaible to the client in a mix of these technologies? How?

Is it up to the desktop vendor, i.e. Microsoft, to get the ball rolling? Maybe WinFS and Avalon is their answer, and we just have to wait until 2007 or later to find out.

SAP Developers in Bangalore

"We started 2004 with 750 engineers in SAP Labs India. At present we have 900 developers. Before 2004 ends we want to hire 500 engineers more," SAP Labs India joint managing director, Martin Prinz, told PTI from Bangalore.
This is *huge*, and means it's a great time to be an SAP developer in Bangalore. There is a lot of competition for these skills. Of course this is not so good news for SAP's customers trying to hold on to their experienced developers there, at current wages.

The situation is similar to the US about ten years ago, when SAP was rolling out like gangbusters across the states. Developers were hard to come by, especially those with real experience as opposed to those with just one project in one module of R3.

Friday, May 14, 2004

From Harper's Index

Average amount a Bush Cabinet member will save this year due to cuts in capital-gains and dividend taxes : $42,000

Median U.S. household income in 2002 : $42,409

Harper's Index

Two million?

Does BizTalk really consist of nearly 2 million lines of C# code?
Egads.

Advantage, or?

"I think it's a unique competitive advantage that we've focused on this," said J Allard, a corporate vice president on Microsoft's Xbox team who is overseeing the initiative as the company's chief XNA architect.
The quote serves as a reminder that it is not just the developer platform mindset that leads to global domination... Just goes to show that one man's advantage is another man's illegally achieved monopoly. But get over it, right?

Innovation in Privacy and Security

Marc Stiegler illustrates innovation in privacy and security is also associated with dynamic languages. (In Marc's case, E, a secure Lisp/Smalltalk-like language that runs in the JVM.)

you could have one [component] endowed with the power to go to your financial institution domains, and one with the power to go everywhere else (this is not implemented in DarpaBrowser, but it is a straightforward extension). A malicious browser would have trouble stealing your bank password, since the [component] that has the data can't talk to the browser developer's home site
I wonder is someone at Microsoft following these innovations (which are really decades old, yet still innovative and longing to be "mainstreamed"). While Longhorn, in 2007 or so, will bring objects instantiated in XML, databases embedded in the filesystem, and movies playing transparently over your list boxes, would they have the foresight to adopt real innovations into their Palladium designs?

Once again, this innovation in privacy and security, so directly beneficial to the "average consumer", arises naturally from the dynamic, "first-class" objects and functions found in Lisp and Smalltalk even 30-40 years ago. Rigid language syntax checking or type theories will make your systems neither more expressive nor more secure than these simple innovations.

Theory, Practice, and Progress

Related to the "progress from the margins" discussion is the "theory vs.practice" discussion.

Theory is good, and rigid type systems are just bad theory implemented. But even good theory follows practice. Meanwhile the practice advances from the dynamic, non-rigid, margins where free thinkers innovate.

I hope she has long hair this time

Seen on "why the lucky stiff".

Progress from the Margins

All the progress in software is coming from the margins at the moment - people experimenting with Python, Ruby, Smalltalk, Lisp, and other dynamic systems.
The truth of this will become evident as the java and dotnet communities migrate to the languages listed above and their cousins. The arc is long but indisputably pointed in that direction.

Microsoft comments on Microsoft and Games

A comment from Microsoft on why you should be afraid when they enter your market. The reason is exactly the following, no matter what your market is, no matter who you are. Microsoft *gets* this, and you almost certainly do not.

I think the thing that holds them back is it's not in their DNA. Sony is a hardware company and Nintendo is an intellectual property company and we're the software platform company. It is in our DNA, and it is an essential part of our strategy. I think it will fuel incredible category growth and benefit our partners a great deal.

Blog Archive

About Me

Portland, Oregon, United States
I'm usually writing from my favorite location on the planet, the pacific northwest of the u.s. I write for myself only and unless otherwise specified my posts here should not be taken as representing an official position of my employer. Contact me at my gee mail account, username patrickdlogan.