domingo, febrero 19, 2006

The C Family of Languages

A propósito de los comentarios sobre John Vlissides , me interesé por el blog Lambda the ultimate, sostenido por Ehud Lamm, que también le dedicó una breve referencia. El caso es que Lambda...reúne un gran número de entradas de interés sobre lenguajes de programación, abiertos por paradigmas (Funcionales, Objeto-Funcionales, Lógico-Declarativos, Orientados a Objeto), y otros asuntos de fundamentación teórica. Agendarlo y seguirlo...
Viene al caso de la visión irónica de Billy Hollis sobre la "familia de lenguajes C", la republicación de un reportaje a Ritchie, Stroustrup y Gosling de julio del 2000, sobre el suceso de la familia, sus puntos de contactos, y sus diferencias, y reeditado en 2005 por Herb Sutter:
Among technical factors, C and C++ benefited from their closeness to machine and absence of artificial restrictions on what can be expressed. That allows low-level systems work to be done in these languages and for the full performance of a machine to be delivered to its users. Java benefited from running in its own virtual machine and from coming with a large set of libraries that decrease the time needed for a programmer to become productive. Unix gave a similar boost to C. In contrast, the C++ world suffers from fragmentation of its huge base of libraries, many of which are proprietary and supplied by competing vendors.(Stroustrup)
Qué hubiera hecho distinto?
There are a bunch of things that I'd do differently. There are a number of things that I'm not entirely happy with and it's not clear what the right answer is. I'm not really happy with the schism between interfaces and classes; in many ways it feels like the right solution wouldn't get in the way.

There have been a number of things -- like, for example, multiple return values -- that these days I kind of wish I had added. That was one where I really liked the feature and most other people just sort of went, "Huh?" Another one that sort of went that way was that I had been going down this route of having a bunch of stuff to do with preconditions and postconditions and assertions in an Eiffel-like way, and actually in the community of people who were using it at the time the average answer was, "Huh? Why would I ever want that stuff?" I think that the average developer today would say that too. But then there's a pretty reasonable crowd of people who believe in things like Design By Contract, and it's one of these things where a lot of people feel like, "If only the rest of the world was educated enough to understand what this is about, they'd be better off." And I actually kind of agree with that. The problem is that most of the world could actually care less.

There are some things that I kind of feel torn about, like operator overloading. I left out operator overloading as a fairly personal choice because I had seen too many people abuse it in C++. I've spent a lot of time in the past five to six years surveying people about operator overloading and it's really fascinating, because you get the community broken into three pieces: Probably about 20 to 30 percent of the population think of operator overloading as the spawn of the devil; somebody has done something with operator overloading that has just really ticked them off, because they've used like + for list insertion and it makes life really, really confusing. A lot of that problem stems from the fact that there are only about half a dozen operators you can sensibly overload, and yet there are thousands or millions of operators that people would like to define -- so you have to pick, and often the choices conflict with your sense of intuition. Then there's a community of about 10 percent that have actually used operator overloading appropriately and who really care about it, and for whom it's actually really important; this is almost exclusively people who do numerical work, where the notation is very important to appealing to people's intuition, because they come into it with an intuition about what the + means, and the ability to say "a + b" where a and b are complex numbers or matrices or something really does make sense. You get kind of shaky when you get to things like multiply because there are actually multiple kinds of multiplication operators -- there's vector product, and dot product, which are fundamentally very different. And yet there's only one operator, so what do you do? And there's no operator for square-root. Those two camps are the poles, and then there's this mush in the middle of 60-odd percent who really couldn't care much either way. The camp of people that think that operator overloading is a bad idea has been, simply from my informal statistical sampling, significantly larger and certainly more vocal than the numerical guys. So, given the way that things have gone today where some features in the language are voted on by the community -- it's not just like some little standards committee, it really is large-scale -- it would be pretty hard to get operator overloading in. And yet it leaves this one community of fairly important folks kind of totally shut out. It's a flavor of the tragedy of the commons problem.(Gosling)

y mucho más...

miércoles, febrero 15, 2006

Oracle: interés en Open Source

Dana Blankenhorn comenta en los blogs de ZDNet el incremento de la presión de Oracle sobre nuevos objetivos de control: Recursos de la comunidad de código abierto, MySql en primer lugar. Primero, la compra de InnoDB, y ahora la compra de SleepyCat Software, soporte de Berkeley DB, que tambien puede ser usado como motor de MySql:
Sleepycat, too, can be used as a storage engine with MySQL. Shimp said that its acquisitions of Innobase and Sleepycat do not change Oracle's relationship with MySQL and that both companies will operate as stand-alone entities within Oracle.
Blankenhorn menciona lo que Sarah Lacey comenta en Business Week:
Oracle is in talks to buy at least three open-source software companies in deals that could be valued at more than $600 million, BusinessWeek Online has learned. The transactions would extend the 18-month, $18 billion spending spree by Oracle Chief Executive Larry Ellison that has engulfed PeopleSoft and Siebel Systems. They would also put Oracle in control of some of the most sought-after open-source projects. Overnight, Redwood Shores [Calif.]-based Oracle would rival IBM (IBM) as the prime evangelist of a movement that's revolutionizing how software is developed and distributed [see BW Online, 2/6/06, "Open Source's New Frontiers"].
Sin embargo, aunque Blankenhorn califica la situación del mercado ERP como duopolio, con Oracle y SAP como controlantes, estima que el código Open Source es de todas formas incontrolable:
In the end open source is a bit like water. It flows no matter what you do. Oracle is going to learn that, but it will take time.

martes, febrero 14, 2006

John Vlissides

El 24 de noviembre del año pasado, siendo muy joven aún, murió John Vlissides, coautor de Design Patterns, y por lo tanto parte de la fundante Gang of Four. Un cáncer cerebral a los 44 años causó su desaparición. Me enteré sólo por un comentario en comp.object, el foro de OOD en Google. Quizá porque tuve demasiado que hacer en estos meses, esta fue la primera noticia que tuve de su muerte; luego encontré que incluso el Washington Post le dedicó un obituario. En particular, Ralph Johnson (GoF), le dedicó un recuerdo en su blog. Ironicamente, el resumen de su actividad en IBM, no es localizable en este momento...(Sólo un reportaje).
The Server Side también le dedicó una serie de memorias de personas que se formaron en el seguimiento de sus investigaciones (enlace en el título de esta nota).

miércoles, enero 25, 2006

Qué patrón de diseño usar para versionamiento?

Un interesante hilo de discusión se acaba de abrir en comp.object, el sitio de discusión sobre OOD en Google:
I need to implement a history/revision system. Such that there will be an object and as it's values change, the revision changes and there is a history of the old values. What is the correct design pattern to use to implement something like this?
HS Lahman y otros abren ideas sobre cómo tratar el versionamiento como objetos con historia. Para seguir, y si se anima, aportar.

CSS para principiantes

En Techrepublic, entre los cientos de recursos disponibles, un buen manual de aprendizaje de CSS y XHTML.

Mas sobre Google Talk y Open Federation

Sean Michael Kerner dedica un breve artículo a Open Federation, destacando la implementación del protocolo Jingle , base para un salto hacia VOIP:
The Jingle specification extends the XMPP protocol for VoIP and other P2P communications and uses.
Enlace al artículo en el título de esta nota.

sábado, enero 21, 2006

Una visión irónica de la polemica C++/Java

Suelo encontrar entre los devotos de C++ y Java una oposición calurosa que tiende a elogiar sin críticas el bando propio, y negar todo en el lenguaje o arquitectura ajenos. Billy Hollis ofrece un resúmen sarcástico de la evolución de C a C++ y C#, que (no sin razón) incluye a Java en la familia. Al menos, puede ayudar a poner sobre la mesa los lados flacos de "la famila"...
Aunque ya pocos se sorprenderían, también se puede ironizar con BASIC.

jueves, enero 19, 2006

CORBA-web Services: closely/loosely/thightly coupled?

En Middleware Matters, el blog de Steve Vinowsky (IONA), existe una discusión sobre CORBA y servicios web, acerca de un punto en común entre ellos: El intento de articular aplicaciones en ambientes heterogéneos, en forma de componentes, que ofrezcan servicios capaces de ser tomados sin necesidad de conocer detalles internos de implementación. ¿Por qué falló CORBA? (no hay duda sobre esto). ¿Corren el mismo riesgo los servicios Web? ¿Loosely Coupled está realmente logrado?.
Ver los comentarios de Michi Henning:

I agree with Mark that CORBA has failed on the Internet. We simply don't see public integration using CORBA among companies. Instead, CORBA is typically used for communication among application components that are developed by the same team, but is not used by companies to offer a public remote API that anyone could call. Sure, I can send CORBA messages over the Internet. But that's not the crux of the question. It's much more a question of whether unrelated parties use CORBA (or WS) to communicate: one party provides the server, and an unrelated party then uses the server, much like a person using a web browser accesses a web server. And I don't see either CORBA or WS being used that way (other than for trivial toy applications).

I also agree with Mark that WS is no more loosely coupled than CORBA. WS proponents claim that loose coupling is achieved by using XML, because XML can be parsed without a priori knowledge of the contents of a message. This is the famous "the receiver can ignore what it doesn't understand" argument. I see many problems with this argument:

- This idea of loose coupling passes the buck to the application. Basically, the sender sends a message that can have all sorts of data in it, and then the application, at run time, has to make sense of it somehow. This is a recipe for bugs because type checking is not enforced by a compiler, and not enforced by the distribution infrastructure.

- We have WSDL. But WSDL ends up creating type definitions that are just as tightly-coupled as IDL ones. (And everyone seems to agree that WSDL is important.) But, where does that leave loose coupling? We have XML at the protocol level, which is loose, and we have WSDL at the application level, which is not loose. There seem to be contradictory messages and intents here.

- Yes, I can define WSDL that makes things optional and types them "loosely", in some sense (just as I can define IDL that does that). But if I do this, the value of having a type system in the first place diminishes, and I'm back to passing the buck to the application, which then again has to figure out at run time (instead of at compile time) whether a particular received message actually makes sense. And note that it is the *application code* that is responsible for this, not the distribution technology, so I get to write type checking code in my applications over and over and over again...

- Even if I do define WSDL that is "loose" and makes lots of things optional, that typically doesn't help me. Loose coupling isn't of interest just for its own sake, but is of interest because people are looking for a way to solve the versioning problem: how can I evolve a distributed application over time without breaking everything that is deployed already, and without having to recompile and redeploy the universe? If I define WSDL that is "loose" to start with, so I get the loose coupling I so much need, by implication, I know in advance how the application will evolve: I put the "loose" bits in the WSDL definitions where I expect future variation in the data. But real life doesn't work that way. None of us is prescient and, as a rule, what makes the versioning problem so hard is that we *don't* know how an application will evolve in the future. In other words, people who say that I can solve the problem by writing "loose" WSDL are kidding themselves: the real world is not cooperative enough for this to work.

- The old argument of "the receiver can ignore what it doesn't understand" is fallacious. For one, versioning and loose coupling are not about just being able to send additional data, but also about changing existing data, operations, parameters, and exceptions. Moreover, real-world versioning is sometimes not about changing interfaces or data types but about changing *behavior*: it is common for someone to want to change the behavior of an operation for a new version of the system, but without changing any data types or operation signatures. Second, the assumption that things will work just because the receiver can "ignore what it does not understand" is very naive. What I don't know can hurt me as much as what I do know. (Would you sign a contract that I put in front of you when several paragraphs are written in a language you cannot understand?)

- Trying to achieve loose coupling at the protocol level is simply the wrong place in the abstraction hierarchy: the protocol is about moving bits back and forth, and about doing this reliably and efficiently. Loose coupling is about dealing with application-specific data types and interfaces and whether it's possible to gracefully evolve these over time. I don't see why I have to have a "loose" protocol in order to enable loose coupling.

If we are interested in loose coupling, multiple interfaces are a far better approach. Instead of trying to define one interface that is loose enough to accommodate all the possible variations, I define several interfaces, each of which accommodates exactly one variation. That way, each interface is strongly typed, but, collectively, all the interfaces together are loosely typed because they offer several alternatives for sending a message. Given that, what I need is a mechanism to select the interface that best suits my job, and a mechanism that lets the receiver of a message know which version is being addressed by the sender. Put those mechanisms into the distribution platform, so applications don't have to reinvent them all the time, and you have a workable answer to the "loose coupling" dilemma that doesn't require me to sacrifice static type safety, and that doesn't throw on-the-wire bandwidth and CPU cycles around as if they were growing on trees.

This idea works very well, and isn't new either: COM supports multiple interfaces, where a single object with a single object identity can present different personas to the world, and Ice has a mechanism called "facets" that allows versioning of distributed applications.

La discusión ofrece también una reseña de los problemas que atravesó CORBA, que no solo fueran técnicos, sino también comerciales, el mismo conflicto que sigue acompañando la elaboración de estándares hoy (los comentarios de Tom Welsh).
Un comentario de erwin enfría los entusiasmos:

I've done a limited nr of CORBA-based solution architectures and implementations a while ago. My feeling is that CORBA definitely is not a failure. I even see 2 big success areas: technological and analytical.

Technologically speaking, CORBA offers a robust and complete stack with a clear and well-documented approach on designing and implementing distributed solutions.
Only disadvantage : tool/server providers were not really interested in providing true interoperability...

The firewall issue is a fake argument.

One of the great values of OMG/CORBA that hasn't been mentioned yet, is the extensive analysis of what's needed for distributed applications. I have the feeling that lots of "new" paradigms arriving later can be seen as re-implementations of the CORBA standards/services etc.

Of course, with some specific variations, e.g. messages with some arbitrary text format that happens to be parseable by an XML-parser (and where lots of other acronyms can be applied to flabbergast any interested reader) i.o. a binary format.

In the web services domain, people are only starting to discover what's needed for a complete architecture stack.

There's a big chance that the result will indeed be a system that has similar services as CORBA, but this time with human-readable messages and the ability to flow through port 80.

Humans can imagine valid semantics for these messages. But is this really valuable? I agree with Michi Henning that in applications, semantics can not be derived/invented at run-time anyway, they have to be a-priori known (and coded), whether the msg is binary or text-based (with or without standard tools to parse the text).

The fact that people now seem to be willing to wait for a nr of years for this web services platform to stabilize and become more complete, and for tool/server providers to build more-or-less interoperable systems (e.g. MS and rest-of-world), seems to be more a new mindset in the SW-world than to be based on technological reasons.

I'm sure it would have been much easier/faster to provide interoperability on IIOP, but at the time MS could not do that as they were still positioning (D)COM as the holy grail.

But now, XML has such a huge mindshare that everyone is willing to invest in technological interoperability...

Byte-streams didn't have the same sex-appeal... ;-)

Loose coupling will never happen, at least not before we have application components with reasoning capabilities.

Ken Horn extiende la discusión en sus comentarios de su blog.
El debate se produce entre activos participantes de la construcción de medios de soporte de arquitecturas heterogéneas: Michi Henning propone ICE. Mark Baker propone REST. Harold Carr propone PEPt, y otros más...
La discusión, en el enlace del título de este artículo.

Google Talk toma vuelo

Google Talk se convierte en un sistema federado, y marcha a ser también multiplataforma: un sistema capaz de aceptar usuarios de otros sistemas de mensajería instantánea, siempre que mantengan un protocolo común, en este caso XMPP, usado por "Earthlink, Gizmo Project, Tiscali, Netease, Chikka, MediaRing, and thousands of other ISPs, universities, corporations and individual users". Por este camino se acaban los estancos de la mensajería instantánea (Messenger, Yahoo), sin otros requisitos que soportar el protocolo. En el futuro, soportará también SIP (VOIP, Video conferencia). Pero además, Google anuncia clientes de mensajería para Linux y Max OSX, además de aceptar clientes de otros proveedores: "The Google Talk service is built to support industry standards. You can connect to the Google Talk service using Google's own client, as well as many other IM clients developed by third parties".

martes, diciembre 27, 2005

Uno más que encuentra SilkTide

Encontré un proveedor de servicio que se testeó con SilkTide a modo de calificación, y busqué el sitio para ver cómo pudiera ser de útil. Lo usé para testear mi página y luego para hacerlo con este blog. Finalmente, busque el sitio con Google para observar hasta qué punto llegué tarde a conocerlo...
Un buen diagnóstico para quien quiera construír una página. Para más observaciones y recomendaciones, le quedan dos posibilidades: siga el enlace de Google, o visite el sitio. Por mi parte, trataré de seguir sus consejos, que en algunos casos coinciden con los lados flacos que ya conocía, y en algún momento resolveré...

jueves, diciembre 08, 2005

Control de cambios explicado por Jim Johnston

Johnston explica en dos artículos en CM/Crossroads, acompañado de gráficos y de algunos de los papeles de registro, distintos escenarios de control de cambios y configuración, útiles para armar un camino de control de cambios para quien lo necesite. Parte I; Parte II

Domain Specific Modeling explicado en tres palabras

Artículo publicado en Methods & Tools. Por ahora, ubicable en su lista de artículos corrientes. Luego, habrá que recurrir a los archivos por su título ("Domain-Specific Modeling for Full Code Generation", para los artículos de fin de 2005). Una discusión sobre el uso de UML para generación de código, y la presentación de la alternativa DSM con varios casos prácticos de ejemplo. Finalmente, la comparación con MDA.
En alguno de los artículos anteriores sobre DSM aquí, algún enlace apunta a éstas ideas. Pero bien, aquí está el original.

miércoles, noviembre 23, 2005

ITToolbox: un blog de interés en EAI

Un blog de interés para un integrador y para el desarrollo de aplicaciones de empresa de gran alcance: provee de pequeñas entradas acerca de temas críticos. Sea a nivel de middleware, de manejo de proyectos, estimaciones de costos, mediciones y manejo de calidad, desarrollo de documentación...y muchos otros. Pequeñas indicaciones, que en todo caso pueden representar una guía básica ante múltiples problemas. (Observations from a Tech Architect: Enterprise Implementation Issues & Solutions).

miércoles, noviembre 16, 2005

A propósito del debate sobre educación en España


Existe en España en estos días un fuerte debate debido a una proposición del partido de gobierno de modificar su actual ley de educación. Si bien no conozco todos los términos de la discusión -nadie lo podría pretender en un mes de estadía- el conjunto de elementos resulta de interés para cualquier país latinoamericano.

Tomo datos de www.quealicante.com (15-11-05):

Sin entrar en otros detalles de modificaciones, algunas semejantes a otras que pasáramos en Argentina, se cuestiona en particular la inestabilidad de la legislación de educación: se cambió en España cuatro veces el sistema de educación en 25 años. Guiándome por la memoria, desde la década del sesenta en Argentina, el número de cambios puede haber sido de uno por cada ciclo político, quizá unos cinco o seis. El resultado de esta inconsecuencia fue el progresivo deterioro, con estudiantes que comienzan un ciclo educativo en un sistema y lo terminan en otro, y profesores que ya no saben cuál es el que están aplicando, remitiéndose finalmente a la mecánica de las exigencias burocráticas curriculares, vacías de contenido educativo.
Qué hacen los países que tienen éxito en sus resultados educativos:

"Finlandia, Japón y Corea son los países con mejor nivel educativo del mundo, según los últimos informes internacionales. Mientras que los japoneses no cambian su ley desde 1984, los finlandeses tienen un récord de permanencia, su ley educativa lleva vigente 35 años."

"A los partidos finlandeses les costó diez años ponerse de acuerdo pero al final lo consiguieron y aprobaron la ley en 1970. Hicieron una reforma educativa que han respetado los diferentes gobiernos y ninguna autoridad duda de que es una de los más eficientes del mundo."

"Los dos países asiáticos se han situado a la cabeza en desarrollo educativo en los últimos años. Ambos tienen leyes con más de veinte años de antigüedad. Son sistemas consolidados y muy eficientes, sobre todo en las ramas técnicas y científicas."

"La última reforma educativa del Reino Unido se hizo en 1987 y fue calificada en su momento como “agresiva política e ideológicamente”. Después de más de quince años, ahora se están planteando hacer una ley nueva."

"Canadá tiene vigentes algunas leyes que no cambia desde hace más de cien años"

Otros aspectos destacables:
Cómo maneja Finlandia la comprensión de la enseñanza:
"El sistema educativo finés es muy exigente y saben que “no se pueden permitir el lujo de perder a un alumno por el camino”. Los malos estudiantes repiten y tienen exámenes de control en diferentes cursos que les ayudan a mejorar. Hablan dos o tres idiomas y desde los siete años saben leer perfectamente."
Canada y la universalidad de la educación:
"Hay diez sistemas educativos diferentes en todo el país y ni siquiera tienen un Ministerio de Educación. Algunas leyes educativas tienen más de un siglo y nadie se plantea cambiarlas. Es completamente gratuita y obligatoria desde los 5 años. No tienen exámenes de acceso a las carreras . Para entrar en la Universidad los aspirantes no tienen que pasar un exámendel tipo de la selectividad. Las propias universidades hacen sus exámenes y eligen, por sus propias capacidades, a los alumnos."
Lo mismo en Nueva Zelanda:
"Hay unas pocas instituciones religiosas o filosóficas que se dedican a la educación pero la mayoría de los niños acuden a colegios públicos. De hecho la consideran un asunto de Estado. Es gratuita desde los 5 hasta los 18 años. Los padres vigilan de cerca a sus hijos .En el sistema educativo de Nueva Zelanda se crean ‘comisiones de padres’ para que sean éstos los que estén pendientes de sus propios hijos. Así ellos participan de su formación."
Presupuesto dedicado a educación:
"El porcentaje del Producto Interior Bruto que gasta España en educación es de un 4.7%. Estamos todavía muy lejos de la media de los países de la OCDE que gastan un 6%. Todos los países nórdicos superan esa media."
Porcentaje dedicado a becas:
"En España se gasta más o menos un 8% del presupuesto de educación en becas o ayudas. La media de los países de laOCDE es un 17%. Los alumnos de estos países tienen más oportunidades."
El reconocimiento y la formación de los educadores:
"En España, los profesores están pagados como la media de los países de nuestro entorno según los últimos datos de la UNESCO. Cobran en su año de ingreso 24.460 euros cantidad similar que en Australia, donde cobran 25.565 euros o en Holanda, donde se les paga 25.864. La media europea está en 25.700 euros, mientras que en el conjunto de la OCDE, que agrupa a los países más desarrollados la media baja hasta los 22.358. En todo caso, los sindicatos de enseñanza han puesto siempre énfasis en el desprestigio de la profesión."
"(en Finlandia) ...La figura del profesor, por tradición, es respetada mucho más que otras profesiones liberales en el país escandinavo. Al fin y al cabo les confían la formación de sus hijos. Quizá por eso el ciclo formativo de los profesores, dependiendo a las especialidades llega a durar siete años, los mismos que en España tiene que dedicar un futuro médico. Forman un auténtico equipo con los padres y se llegan a comunicar con ellos a través de SMS."

¿Es realmente imposible proponerse este tipo de objetivos? O se trata de un esquema de prioridades irracional y egoísta el que sufrimos en nuestros países?

martes, noviembre 15, 2005

Serena Software cambia de manos

Serena Software, uno de los participantes fuertes en el software de administración de cambios, cambia de manos, pasando todo su paquete accionario a Silver Lake Partners.
"Our decision to partner with Silver Lake to take the company private represents the culmination of a thorough review of our standalone plan and strategic alternatives and we believe this is the best value proposition for our shareholders", dice su jefe ejecutivo, Mark Woodward.
Parecería ser la renuncia a proseguir en el proyecto independiente. Se simplifica el campo?

jueves, noviembre 10, 2005

Cómo prototipar un juego por semana

Un grupo de estudiantes, dentro de un proyecto del Entertainment Technology Center de la Universidad Carnegie Mellon, (Experimental Gameplay Project), logró construír alrededor de 50 juegos en un semestre de trabajo, a un promedio de uno por semana. ¿Cómo?

Here's a crazy game idea: Drag trash-talkin' gobs of goo to build a giant tower higher and higher. They squirm and giggle and climb upward over the backs of their brothers, but be careful! A constant battle against gravity, if you build a tower that's too unstable, it will all fall down.

"Tower of Goo" was downloaded over 100,000 times within months of hitting the net, it was dubbed “Internet Game of the Month” in one magazine, it was demoed on G4 and at the Experimental Gameplay Workshop at GDC, and it was one of over fifty games we made as a part of the Experimental Gameplay Project at Carnegie Mellon's Entertainment Technology Center.

And like the rest of them, it was made in under a week, by one person.

The project started in Spring 2005 with the goal of discovering and rapidly prototyping as many new forms of gameplay as possible. A team of four grad students, we locked ourselves in a room for a semester with three rules:

1. Each game must be made in less than seven days,
2. Each game must be made by exactly one person,
3. Each game must be based around a common theme i.e. "gravity", "vegetation", "swarms", etc.

As the project progressed, we were amazed and thrilled with the onslaught of web traffic, with the attention from gaming magazines, and with industry professionals and academics all asking the same questions, "How are you making these games so quickly?" and "How can we do it too?"

We lay it all out here. Through the following tips, tricks, and examples, we will discuss the methods that worked and those that didn't. We will show you how to slip into a rapid prototyping state of mind, how to set up an effective team, and where to start if you've thought about making something new, but weren't sure how. We hope these well-tested guidelines come in useful for you and your next project, big or small!

¿Interesado?
Vea las recomendaciones de Gabler, Kucic, Gray, y Shodhan, y el experimiento mismo...

miércoles, septiembre 28, 2005

Ultimos días en La Serena...

En pocos días más, viajamos de Santiago a Madrid. Tres años en Chile, entre La Serena y Santiago. De ahora en más, la Comunidad Valenciana...
Durante un mes no creo que tenga prácticamente tiempo para nada que no sea organizarnos. Posted by Picasa

viernes, septiembre 09, 2005

ECMDA: Consistencia en el desarrollo de software conducido por modelos

La Conferencia Europea en Arquitectura Dirigida por Modelos (ECMDA) tendrá en Noviembre una reunión de trabajo enfocada en el análisis de la consistencia de modelos creados con UML, en el contexto de su uso para la generación automática de código:

A number of artefacts are produced during the software developments process and MDA in particular. Those artefacts are usually expressed in UML and should be related in different way to each other. One of the most important relationship between artefacts is that they should be consistent. Putting this question into the discussion and trying to find answer to this question is the main topic to be addressed during the workshop. (...)

The following issues fall within the scope of the workshop:

  • Understanding consistency in the context of MDA and UML in particular – informal consistency from different points of views, static and dynamic consistency.

  • Definition of consistency in MDA and UML – set of properties or other techniques,

  • Checking consistency,

  • Ensuring consistency,

  • Model transformation preserving consistency,

  • Practical realization,

  • Tools support for checking and ensuring consistency,

  • Relationship between consistency and formal techniques and languages,

  • Consistency driven development process,

  • Merging models and consistency (PIM + PM ->PSM).


El material de las reuniones previas de los años 2002, 2003, y 2004, se puede consultar a partir de ésta página (link en el título de esta nota).
Todo el material es de interés no sólo para abordar el propio problema convocante, sino para entender el uso de OCL, las operaciones de transformación de modelos, y los metamodelos en UML, y aún más en general, el uso de artefactos capaces de generar código.
Un tema que particularmente estimulante, es planteado por Robert Wagner, Holger Giese, y Ulrich Nickel, de la Universidad de Padeborn, Alemania; Flexibilidad en las reglas de consistencia aplicadas:
In most CASE tools, the consistency checks being performed are rather static and predefined as they are hard coded into the tool . Thus, new consistency rules neither can be added nor can existing consistency rules be adapted to special user, enterprise, project, target language, or domain specific demands. However, during large projects you will never obtain a complete set of rules covering all relevant inconsistencies. In fact, the set of consistency rules will be expanded and refined through the whole lifecycle of a project. Thus, for a tool developer it becomes infeasible to identify all consistency rules in advance.
In this paper we present a plug-in for a flexible and incremental consistency management realized within the FUJABA TOOL SUITE. FUJABA itself is an Open Source UML CASE tool project. It was started by the software engineering group at the University of Paderborn in fall 1997 and has a special focus on code generation from UML diagrams resulting in a visual programming language. Hence, consistency management was an important issue from the beginnings since consistent specifications are a required prerequisite for an error-free implementation.
Más sobre ECMDA.
Herramientas Comerciales y Open Source participantes. FUJABA.
Historial de conferencias sobre MDA de la asociación.

sábado, septiembre 03, 2005

Una comparación sobre ambiente de seguridad entre Java y .NET

Mencionado en The Server Side (.net) por Paul Ballard, un papel de dos estudiantes, Nathanael Paul y David Evans, de la Universidad de Virginia, compara la implementación de políticas de código seguro en Java y en .Net. Con un punto de vista algo "virado al .Net", el documento es minucioso y consistente, por lo que contribuye a alcanzar dominio sobre los potenciales problemas o puntos débiles de las plataformas. Su conclusión es que .Net ofrece un mejor marco de seguridad que Java:
Java and .NET have similar security goals and mechanisms. .NET’s design benefited from past experience with Java. Examples of this cleaner design include the MSIL instruction set, code access security evidences, and the policy configuration. .NET has been able to shield the developer from some of the underlying complexity through their new architecture.

Where Java evolved from an initial platform with limited security capabilities, .NET incorporated more security capability into its original design. With age and new features, much of the legacy code of Java still remains for backwards compatibility including the possibility of a null SecurityManager, and the absolute trust of classes on the bootclasspath. Hence, in several areas .NET has security advantages over Java because of its simpler and cleaner design.

Most of the lessons to learn from Java’s vulnerabilities echo Saltzer and Schroeder’s classic principles, especially economy of mechanism, least privilege and fail-safe defaults. Of course, Java’s designers were aware of these principles, even though in hindsight it seems clear there were occasions where they could
(and should) have been followed more closely than they were. Some areas of design present conflicts between security and other design goals including fail-safe defaults vs. usability and least privilege vs. usability and complexity. For example, the initial stack walk introduced in Java has evolved to a more complex stack walk in both architectures to enable developers limit privileges. In addition, both
platforms default policies could be more restrictive to improve security, but restrictive policies hinder the execution of programs. .NET’s use of multi-level policies with multiple principals provides another example of showing the principles of least privilege and fail-safe defaults in contention with usability and
complexity. Several of the specific complexities that proved to be problematic in Java have been avoided in the .NET design, although .NET introduced new complexities of its own. Despite .NET’s design certainly not being perfect, it does provide encouraging evidence that system designers can learn from past security vulnerabilities and develop more secure systems. We have no doubts, however, that system designers will continue to relearn these principles for many years to come.
No obstante, es necesario recordar que la similitud está en el uso de una máquina virtual, pero que .Net ejecuta múltiples lenguajes sólo sobre Windows, y Java sólo un lenguaje sobre múltiples plataformas. En una decisión de arquitectura, las alternativas por ahora son más amplias sobre Java, sin mencionar la confiabilidad del sistema operativo huésped.