How to make in X11 so that the focused window follows the mouse?

Another long title.

Just a quick one, not to forget: in Apple’s X11, if you want to have the focus follow the current window, just type the following at the terminal window:

defaults write com.apple.x11 wm_ffm -bool true

Restart X11 and that’s it! This is particularly useful in apps like Gimpshop that have several open windows simultaneously (for the palettes, the layers, and the images themselves).

El Impenetrable o la agonía Qom, por Mempo Giardinelli

En el Pagina/12 de hoy:

Una hora después, en el camino hasta Juan José Castelli –población de 30 mil habitantes que se autocalifica “Portal del Impenetrable”– la desazón y la rabia se perfeccionan al observar lo que queda del otrora Chaco boscoso. Lo que fue imperio de quebrachos centenarios y fauna maravillosa, ahora son campos quemados, de suelo arenoso y desértico, con raigones por doquier esperando las topadoras que prepararán esta tierra para el festival de soja transgénica que asuela nuestro país. Entramos –nuevamente por atrás– al Hospital de Castelli, que se supone atiende al 90 o 95 por ciento de los aborígenes de todo el Impenetrable. Lo que veo allí me golpea el pecho, las sienes, los huevos: por lo menos dos docenas de seres en condiciones definitivamente inhumanas. Parecen ex personas, apenas piel sobre huesos, cuerpos como los de los campos de concentración nazis.

Mas informacion en el blog “Civilizacion y Barbarie” de Clarin.

Paamayim Nekudotayim

From the PHP documentation:

The Scope Resolution Operator (also called Paamayim Nekudotayim) or in simpler terms, the double colon, is a token that allows access to static, constant, and overridden members or methods of a class. When referencing these items from outside the class definition, use the name of the class. Paamayim Nekudotayim would, at first, seem like a strange choice for naming a double-colon. However, while writing the Zend Engine 0.5 (which powers PHP 3), that’s what the Zend team decided to call it. It actually does mean double-colon – in Hebrew!

mira esto, pero no te atragantes

http://www.clarin.com/diario/2007/09/18/um/m-01501786.htm

“Kid Nation” toma la fórmula de Golding y le da un giro contemporáneo. CBS eligió a 40 chicos de entre 8 y 15 años y los depositó en Bonanza City, una ciudad minera perdida en el desierto de Nuevo México. El desafío para los chicos consistía en crear una sociedad que funcionara, con un sistema de gobierno, leyes, comercio y un sistema de clases. Los productores dividieron a los chicos en cuatro equipos, que luego competían para terminar como los ganadores de la “clase superior”, “comerciantes”, “cocineros” o “trabajadores”. Al finalizar cada semana, se votaba a un chico como el ganador de una estrella de oro, equivalente a 20.000 dólares.

Strategy Letter VI, by Joel Spolsky

http://www.joelonsoftware.com/items/2007/09/18.html

So if history repeats itself, we can expect some standardization of Ajax user interfaces to happen in the same way we got Microsoft Windows. Somebody is going to write a compelling SDK that you can use to make powerful Ajax applications with common user interface elements that work together. And whichever SDK wins the most developer mindshare will have the same kind of competitive stronghold as Microsoft had with their Windows API.

In my opinion, the winners will be one of these or any other standards-based technology, but not any of the latest runtime-based environments, like Flex, Silverlight or AIR. These are just new ways to pronounce the word Java, and as Joel states, this sandboxing thing just does not work:

You can follow the p-code/Java model and build a little sandbox on top of the underlying system. But sandboxes are penalty boxes; they’re slow and they suck, which is why Java Applets are dead, dead, dead. To build a sandbox you pretty much doom yourself to running at 1/10th the speed of the underlying platform, and you doom yourself to never supporting any of the cool features that show up on one of the platforms but not the others. (I’m still waiting for someone show me a Java applet for phones that can access any the phone’s features, like the camera, the contacts list, the SMS messages, or the GPS receiver.)

Proto-Anarchism? Who knows?

Interesting observations about Amazon:

Innovation can only come from the bottom. Those closest to the problem are in the best position to solve it. any organization that depends on innovation must embrace chaos. Loyalty and obedience are not your tools. Everyone must be able to experiment, learn, and iterate. Position, obedience, and tradition should hold no power. For innovation to flourish, measurement must rule.

Did you know that these basic principles come directly from anarchism? I do not say anarchy: I mean anarchism, the political ideology, which states as a basic element the elimination of hierarchies, the root of all evils of mankind.

It is interesting to see how the concepts of common property (open source) decentralization and trust (wikis) or elimination of hierarchy (in some innovative companies) are slowly apprearing in the computing world; will ever be “free beer” with “free” as in “gratis” and not only as in “freedom”?

There’s more to project management than just command and conquer… But we’re really too far away from a real free society.

The Way of Testivius

Don’t miss this! (local copy here if the server is unavailable)

The best time to test is when the code is fresh Your code is like clay. When it’s fresh, it’s soft and malleable. As it ages, it becomes hard and brittle. If you write tests when the code is fresh and easy to change, testing will be easy, and both the code and the tests will be strong.